<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    form{
        margin: 50px 100px;
        padding: 10px;
        width: 260px;
        height: 400px;
        border: 2px solid #000000;    
        line-height: 40px;    
    }
    form h1,button{
        text-align: center;
    }
    button{
        margin-left: 100px;
    }
    </style>
</head>

<body>
    <form action="./logon" method="GET">
        <h1>注册</h1>
        用户名: <input type="text" name="username"></br>
        年龄:   <input type="number" name="age"></br>
        性别: 男<input type="radio" name="sex"> 女<input type="radio" name="sex"></br>
        密码:   <input type="password" name="password"></br>
        确认密码:<input type="password" name="password"></br>
        邮箱:   <input type='email' name='email'></br>
        <button type="submit">注册</button></br>
    </form>
</body>

</html>